import request from '@/utils/http'
// 获取朋友圈列表数据
export function getShareAPI() {
  return request({
    url: '/share/list'
  })
}

// post请求测试

export const uploadAPI = ({ shareText, photo }) => {
  return request({
    url: '/share/upload',
    method: 'POST',
    data: {
      shareText,
      photo
    }
  })
}
